<script setup lang="ts">
import { onUpdated } from 'vue';

defineProps({
  obj: Object
})
onUpdated(() => {
  console.log('object')
})
</script>
<template>
  <div>
    name:{{ $props.obj!.name }}
  </div>
  <div>
    age:{{ $props.obj!.age }}
  </div>
  <div>
    address:{{ $props.obj!.address }}
  </div>
</template>